<?php
namespace app\admin\logic;
use think\facade\Request;
use think\facade\View;

class VipLogic
{
    public static function getWhere()
    {

        $param = Request::param();
        $where = [];
        if(isset($param['keywords'])) {

            $where[] = ['uname', 'like', "{$param['keywords']}%"];
            View::assign('keywords',$param['keywords']);
        }
        return [$where];
    }



}